package ch9.thread4;

public class TestSyn {

	public static void main(String[] args) {
		// StringBuffer b1 = null;
		// StringBuilder d2 = null;
		Account ac = new Account("赵连斌", 3200);

		MoneyTaker t1 = new MoneyTaker("赵连斌", ac);
		MoneyTaker t2 = new MoneyTaker("赵飞燕", ac);
		MoneyTaker t3 = new MoneyTaker("玛丽莲-玉凤", ac);
		Cunqianren t4 = new Cunqianren("老赵", ac);
		t1.start();
		t2.start();
		t3.start();
		t4.start();
	}

}
